import React, { Component } from 'react';

//个人中心
import TopBox from '../components/TopBox';
import LoginRegistration from '../components/my/LoginRegistration';
import CollectionBox from '../components/my/CollectionBox';
import ORderBox from '../components/my/OrderBox';
import MySwiper from '../components/my/MySwiper';
import OtherBox from '../components/my/OtherBox';

const MyPageStyle ={
    backgroundColor: "#ececec"
}

class MyPage extends Component {
    render() {
        return (
            <div className='MyPage' style={MyPageStyle}>
                {/* 个人中心 */}
                {/* 返回顶部 */}
                {<TopBox/>}
                {/* 登陆注册组件 */}
                {<LoginRegistration />}
                {/* 收藏组件 */}
                {<CollectionBox />}
                {/* 订单组件 */}
                {<ORderBox />}
                {/* 轮播组件 */}
                {<MySwiper />}
                {/* 其他组件 */}
                {<OtherBox />}
            </div>
        );
    }
}

export default MyPage;